package td.ejb.users;

import java.util.List;

import javax.ejb.Local;

@Local
public interface UserMgr {
	
	public int saveCliente(UserDTO user);
	
	public int saveAgent(UserDTO user);
	
	public void update(UserDTO user, Boolean pswCript);
	
	public boolean checkUniqueEmail(String nuovaEmail);
	
	public void selfUnregister();
	
	public void unregister(String username);
	
	public UserDTO getUserDTO();
	
	public List<UserDTO> listaAgent();
}
